package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.system.domain.SysUserCommonConfig;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 代理公共配置视图对象 sys_user_common_config
 *
 * @author Lion Li
 * @date 2025-07-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysUserCommonConfig.class)
public class SysUserCommonConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     * 注册赠送积分
     */
    @ExcelProperty(value = "注册赠送积分")
    private BigDecimal registerPoints;

    /**
     * 开通vip价格
     */
    @ExcelProperty(value = "开通vip价格")
    private BigDecimal memberPrice;

    /**
     * 每交易X元
     */
    @ExcelProperty(value = "每交易X元")
    private BigDecimal everyAmount;

    /**
     * 每交易X元返现积分
     */
    @ExcelProperty(value = "每交易X元返现积分")
    private BigDecimal cashBackPoints;

    /**
     * 积分进账有效期
     */
    @ExcelProperty(value = "积分进账有效期")
    private Integer pointsPeriodDay;


    private BigDecimal getMachinePrice;


    //交易返现是否需要开通会员
    private Integer cashBackIsMember;

    //首笔提现最小值
    private BigDecimal firstWithdrawalMin;

    //单笔提现最小值
    private BigDecimal withdrawalMin;

    //单笔提现最小值
    private BigDecimal withdrawalMax;


    //商户一个月最多能提现金额
    private BigDecimal withdrawalMaxMonth;

    //抽奖保底金额
    private BigDecimal lotteryMinimumGuaranteeReward;

    //抽奖步数
    private Integer lotteryStep;

    //抽奖消耗积分
    private BigDecimal prizeDrawPoints;

    //联系人微信地址
    private String contactsImage;

    //注册页面地址
    private String registerPath;

    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "contactsImage")
    private String contactsImageUrl;
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
